<?php

define('IN',1);

require_once 'common.inc.php';
needLogin();

$allow = array('account','address','fapiao','order','baoxiu','modipassword');

$act = in_array($_GET['act'],$allow) ? $_GET['act'] : $allow[0];

require_once __PATH__.'/ucenter/'.$act.'.php';

$template->current = array($act=>' class="a_now"');

if (!$template->my_page) $template->my_page = "front/{$act}";
showMainFrontPage("front/my_layout");